package com.site.blog.my.core.controller.admin;

import com.site.blog.my.core.util.Result;
import com.site.blog.my.core.util.ResultGenerator;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Hujf
 * @title: RoleController
 * @description: TODO
 * @date 2020/8/12 0012下午 2:38
 */
@Api(value = "Role",description = "对权限接口接收")
@Controller
@RequestMapping("/Role")
public class RoleController {

    @ResponseBody
    @RequestMapping("/noRole")
    public Result getErrorResult(){

        return ResultGenerator.genFailResult("没有权限");
    }
}
